package main

import "gorm.io/gorm"

type System struct {
	gorm.Model
	Name string
}

type Table struct {
	gorm.Model
	SystemId uint
	Name     string
	Desc     string
}

type Column struct {
	gorm.Model
	TableId       uint
	Name          string
	Desc          string
	Type          string
	IsMain        bool
	IsEmptyable   bool
	DictType      string
	SubDictSystem string
	DictGroupFlag string
	DictColumn    string
	SubDictType   string
	ColumnSize    string
	ColumnSuffix  string
}
